]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: move ctrlAltTab handling to Dash
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 15 Feb 2013 23:23:15 +0000 (18:23 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 04:47:12 +0000 (23:47 -0500)
This is also what the panel does.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

js/ui/dash.js
js/ui/overview.js

index 3bd376696a4b9c02e77659c5824b1d2de5ea4784..0d919afbcb3274863184795529bd5247bd3a0581 100644 (file)
@@ -421,6 +421,10 @@ const Dash = new Lang.Class({
                               Lang.bind(this, this._onDragCancelled));
         Main.overview.connect('window-drag-end',
                               Lang.bind(this, this._onDragEnd));
+
+        // Translators: this is the name of the dock/favorites area on
+        // the left of the overview
+        Main.ctrlAltTabManager.addGroup(this.actor, _("Dash"), 'user-bookmarks-symbolic');
     },
 
     _onDragBegin: function() {
index 10deadae913f8ccbfd080faca760f85768eaa57f..c57ab9546a311af38be57a36233ea8c90ebb9462 100644 (file)
@@ -234,10 +234,6 @@ const Overview = new Lang.Class({
         this._dashSlider = new OverviewControls.DashSlider(this._dash);
         this._group.add_actor(this._dashSlider.actor);
 
-        // Translators: this is the name of the dock/favorites area on
-        // the left of the overview
-        Main.ctrlAltTabManager.addGroup(this._dash.actor, _("Dash"), 'user-bookmarks-symbolic');
-
         this._viewSelector = new ViewSelector.ViewSelector(this._searchEntry,
                                                            this._dash.showAppsButton);
         this._group.add(this._viewSelector.actor, { x_fill: true,